package com.project.service.impl;

import com.project.service.IEmployeeService;
import com.project.bean.EmployeeBean;
import com.project.mapper.IEmployeeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class EmployeeServiceImpl implements IEmployeeService {

    @Autowired
    private IEmployeeMapper emMapper;
    @Override
    public void add(EmployeeBean em) {
        emMapper.insert(em);
    }

    @Override
    public List<EmployeeBean> findAll() {
        return null;
    }

    @Override
    public EmployeeBean findById(Integer id) {
        return null;
    }
}
